Skip to content

(CODUX-125) Synchronize runbook with conditional update button behavior - #2772

Merged
numnx merged 1 commit into
feature/CODUX-199-fix-update-buttonfrom
task/feature-codux-199-fix-update-button-t03-codex-mrd019z7
Jul 9, 2026
Merged

(CODUX-125) Synchronize runbook with conditional update button behavior#2772
numnx merged 1 commit into
feature/CODUX-199-fix-update-buttonfrom
task/feature-codux-199-fix-update-button-t03-codex-mrd019z7

Conversation

@numnx

@numnx numnx commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

🧩 Task: Synchronize runbook with conditional update button behavior

Automated task PR opened by Code UX for T03.

📋 Summary

Sprint: Sprint 199 · Fix Update Button · Task: T03

Fix the Electron title-bar Update button so it reflects real update availability: surface the update affordance only when a newer version exists (driven by the existing /api/system/update-status pipeline) instead of being hardcoded to always show, and communicate the available version.

🤖 Model & Provider

Provider Codex CLI
Model gpt-5.5

⏱️ Timing

Started 2026-07-09 04:20:51 UTC
Finished 2026-07-09 04:22:33 UTC
Duration 1m 41s

📊 Token Usage

Metric Value
Input tokens 29,835
Cached input tokens 132,864
Output tokens 2,997
Total tokens 165,696
Invocations 1
Tool calls 18
Active time 1m 18s

Included usage estimate (subscription/local login): $0.31

✅ QA Review

⏳ QA review runs after this PR is opened. Check the task card in the dashboard for the outcome once it lands.

📝 Full Task Prompt
## Objective
Bring the canonical operational documentation in sync with the shipped Electron title-bar update behavior.

## Scope
- Edit `docs/operations/runbook.md`.
- If the same title-bar guidance is mirrored in any public docs page under `docs-web/`, update that copy too.
- Keep unrelated runbook content unchanged.

## Requirements
1. Replace the stale note that says the Electron title bar always shows an Update button whenever `window.codeUxDesktop.window` is available.
2. Document that the Update affordance only appears when `useUpdateStatus()` reports `updateAvailable === true`.
3. Note that the button remains version-aware when a latest version is known, and the visible action still calls the existing `openUpdates()` bridge.
4. Remove any wording that implies the title bar ignores `/api/system/update-status`.
5. Keep the explanation of the update-status pipeline accurate and concise for operators.

## Verification
- Run a repository search and confirm there are no remaining stale references such as `always-present "Update" button` or `does not depend on /api/system/update-status` in the docs tree.
- Manually confirm the runbook now matches the shipped title-bar behavior.
🌿 Branch Info

Base: feature/CODUX-199-fix-update-button
Head: task/feature-codux-199-fix-update-button-t03-codex-mrd019z7


🤖 Generated by Code UX

@numnx
numnx merged commit c6a68e3 into feature/CODUX-199-fix-update-button Jul 9, 2026
6 checks passed
@numnx
numnx deleted the task/feature-codux-199-fix-update-button-t03-codex-mrd019z7 branch July 9, 2026 04:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant